YAYDP\Abstracts\YAYDP_Product_Pricing_Rule A

Total Complexity 53
Dependencies 2
Dependents 0
Total lines 291
Lines of code 151
Logical lines of code 95
Comment lines 109
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
can_apply_to()
A
44 13 45
replace_offer_description_variables()
S
48 7 30
replace_tooltip_variables()
S
54 4 20
get_offer_description()
S
65 5 9
get_tooltip()
S
70 3 6
get_percentage_discount_values()
S
72 2 6
get_fixed_discount_values()
S
70 2 6
is_excluded()
S
74 2 4
get_maximum_adjustment_amounts()
S
72 2 6
get_buy_product_filters()
S
78 2 3
get_buy_product_match_type()
S
77 2 3
get_maximum_adjustment_amount()
S
74 2 4
get_pricing_value()
S
77 2 3
get_pricing_type()
S
77 2 3
add_encouraged_notice()
S
100 1 0
check_conditions()
S
82 1 3
collect_adjustments()
S
100 1 0